import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * projectName: springframeworkgp8
 *
 * @author: 赵伟风
 * time: 2021/8/2 16:17
 * description:
 */
public class tets {

    public static void main(String[] args) throws IOException {


        ApplicationContext applicationContext =
                new ClassPathXmlApplicationContext("spring_ioc.xml");


        Object ssf = applicationContext.getBean("ssf");


        System.out.println("ssf = " + ssf);



    }
}
